/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.myyong.model;

import java.io.Serializable;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 * @author dell
 */
@Document(collection = "address")
public class Address implements Serializable {
    
    private String city;
    
    private String location;

    public Address() {
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "Address{" + "city=" + city + ", location=" + location + '}';
    }
    
}
